﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KBManagement.DAL;

namespace KBManagement.BIZ
{
    class EmployeeFacade : FacadeBase<Employee>
    {

        public override IQueryable Select()
        {
            throw new NotImplementedException();
        }

        public override Employee[] SelectEntities()
        {
            throw new NotImplementedException();
        }

        public override Employee Find(object id)
        {
            return Library.Utils.CreateInstance().GetDBContext().Employees.Single(x => x.ID.Equals(id));
        }

        public override Employee[] FindMany(object id)
        {
            throw new NotImplementedException();
        }
    }
}
